package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.ChannelDic;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChannelDicMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ChannelDic record);

    int insertSelective(ChannelDic record);

    ChannelDic selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ChannelDic record);

    int updateByPrimaryKey(ChannelDic record);

    List<ChannelDic> findChannelsByChannelValues(@Param("privilegeCodes") List<String> privilegeCodes);

}
